/**
 * 
 */
package com.pcbly.web.business.chart;

import java.util.List;

import com.pcbly.web.bean.chart.ChartStyleBean;
import com.pcbly.web.business.BaseServiceImp;
import com.pcbly.web.persistence.chart.ChartStyleDao;

/**
 * @author Administrator
 * @date 2009-7-13
 * @copyright lightsoft
 */
public class ChartStyleServiceImp extends BaseServiceImp<ChartStyleBean>
		implements ChartStyleService {
	public ChartStyleServiceImp(){
		super();
	}
	
	protected ChartStyleDao chartStyleDao;
	
	
	public void setChartStyleDao(ChartStyleDao chartStyleDao) {
		this.chartStyleDao = chartStyleDao;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

	@Override
	public int deleteChartStyleBean(String id) throws Exception {
		// TODO Auto-generated method stub
		return chartStyleDao.deleteChartStyleBean(id);
	}

	@Override
	public int insertChartStyleBean(ChartStyleBean bean) throws Exception {
		// TODO Auto-generated method stub
		return chartStyleDao.insertChartStyleBean(bean);
	}

	@Override
	public ChartStyleBean queryChartStyleBeanById(String id) throws Exception {
		// TODO Auto-generated method stub
		return chartStyleDao.queryChartStyleBeanById(id);
	}

	@Override
	public List<ChartStyleBean> queryList() throws Exception {
		// TODO Auto-generated method stub
		return chartStyleDao.queryList();
	}

	@Override
	public int updateChartStyleBean(ChartStyleBean bean) throws Exception {
		// TODO Auto-generated method stub
		return chartStyleDao.updateChartStyleBean(bean);
	}

}
